<!DOCTYPE HTML>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
    <title>UMEDITOR 完整demo</title>
	<script type="text/javascript" src="../third-party/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="../ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="editor_api.js"></script>
</head>
<body>
<h1>UMEDITOR 多编辑器demo</h1>

<!-- 210mm * 297mm ，525px * 742.5px , 525 - 742.5  -->
<script type="text/plain" id="myEditor1" style="width:210mm;height:742.5px;">
    <p>这里我可以写一些输入提示</p>
</script>

<input type="button" id="btn01" value="获取'myEditor1'的高度"/><br/>
<hr>

<script type="text/javascript">
    var um1 = UE.getEditor('myEditor1');
	var arrUm = ['myEditor1'];
	$(function(){
		$.each(['btn01'], function(i,n){
			$('#'+n).on('click', function(){
				alert( $('#'+arrUm[i]).height() );
			});
		});
	});
</script>

</body>
</html>